<html>
    <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>HTML表单设计</title>
    </head>
    <BODY>
        <form>
            名: <input type="text" name="firstname"><br>
            姓: <input type="text" name="lastname"><br>
            Password: <input type="password" name="pwd"><br>
            <input type="radio" name="sex" value="male">Male<br>
            <input type="radio" name="sex" value="female">Female<br>
            <input type="checkbox" name="vehicle" value="Bike">I have a bike<br>
            <input type="checkbox" name="vehicle" value="Car">I have a car<br>
        </form>
        <form name="input" action="html_form_action.php" method="get">
            Username: <input type="text" name="user">
            <input type="submit" value="Submit">
        </form>
    </BODY>
</html>
